import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_124 =  {
    need_title: {
      ...CardEditableParamsDefault.SwitchNormal,
      label: '标题显示(是|否)',
      bIsUpdateManual: true,
      boolReplace: {
        boolTrue: '1',
        boolFalse: '0',
      },
    },
    lists: {
      ...CardEditableParamsDefault.Lists,
      label: '视频分类',
      param_params: {
        title: {
          ...CardEditableParamsDefault.InputNormal,
          label: '分类名',
          placeholder: '请填入分类名',
        },
        Idx_mid: {
          ...CardEditableParamsDefault.InputNormal,
          label: 'Mid',
          placeholder: '多个请用,隔开/不能有空格',
          disabled: true,

          param_effect_parent: {
            effect_parent_keys: ['lists', 'ARRAY_NUM', 'Idx_mid_list'],
            effect_type: ['MID_JOIN'],
            effect_mid_join: {
              key: 'mid',
            },
          },
        },

        Idx_mid_list: {
          ...CardEditableParamsDefault.Lists,
          label: 'Mids list',
          limit: 9,
          param_params: {
            mid: {
              ...CardEditableParamsDefault.InputNormal,
              label: 'Mid',
              placeholder: '请填入Mid',
            },
            next_title: {
              ...CardEditableParamsDefault.InputNormal,
              label: '标题',
              placeholder: '请填入标题',
              tooltips: TooltipsData.CARD_124[0]
            },
          },
        },
      },
    },

    top_img: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '背景图',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于500kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 500,
      accept: '.jpg, .jpeg, .png, .gif',
    },

    arrow_up: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '箭头（朝上）',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
      limit: 1,
      size: 100,
      accept: '.png',
    },
    arrow_down: {
      ...CardEditableParamsDefault.ImageNormal,
      label: '箭头（朝下）',
      res_type: 'String',  // Array : fileList, String : value
      placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
      limit: 1,
      size: 100,
      accept: '.png',
    },

    theme_color: {
      ...CardEditableParamsDefault.ColorNormal,
      label: '主题颜色',
      value: '#1b1d21',
      format: 'hex',
      isAlpha: false,
    },
    button_background: {
      ...CardEditableParamsDefault.ColorNormal,
      label: '下拉按钮背景颜色',
      value: '#675a4e',
      format: 'hex',
      isAlpha: false,
    },
    button_textcolor: {
      ...CardEditableParamsDefault.ColorNormal,
      label: '下拉按钮文字颜色',
      value: '#f4ca94',
      format: 'hex',
      isAlpha: false,
    },
    foregroud_color: {
      ...CardEditableParamsDefault.ColorNormal,
      label: '标题颜色',
      value: '#ad8857',
      format: 'hex',
      isAlpha: false,
    },
  };
export default CARD_124;